package com.kerbores.wx.api;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.kerbores.wx.bean.WxInMsg;
import com.kerbores.wx.bean.WxOutMsg;

/**
 * @author wendal(wendal1985@gmail.com)
 */
public interface WxBaseApi {

	WxResp send(WxOutMsg out);

	WxInMsg parse(HttpServletRequest req);

	void handle(HttpServletRequest req, HttpServletResponse resp, WxHandler handler);
}
